package Demo1;

public class LoginInfo {
    private String useName;
    private int password;

    public LoginInfo(String useName, int password) {
        this.useName = useName;
        this.password = password;
    }

    public String getUseName() {
        return useName;
    }

    public void setUseName(String useName) {
        this.useName = useName;
    }

    public int getPassword() {
        return password;
    }

    public void setPassword(int password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "useName='" + useName + '\'' +
                ", password=" + password +
                '}';
    }
}
